<template>
  <div>
    <a-tabs default-active-key="1" @change="callback">
      <a-tab-pane key="1" tab="优待入驻">
        <apply></apply>
      </a-tab-pane>
      <a-tab-pane key="2" tab="活动申请" force-render>
        <activity></activity>
      </a-tab-pane>
      <a-tab-pane key="3" tab="审批查询">
        <search></search>
      </a-tab-pane>
    </a-tabs>
  </div>
</template>
<script>
  import apply from '../views/Apply.vue'
  import activity from '../views/Activity.vue'
  import search from '../views/Search.vue'
export default {
  components:{
    apply,activity,search
  },
  data() {
    return {};
  },
  methods: {
    callback(key) {
      //console.log(key);
    },
  },
};
</script>
